var o = require("../../FFE95507875DE5CF998F3D00DB5D6824.js"), n = require("../../26C7E8E6875DE5CF40A180E17E6D6824.js"), e = o.appName;

Page({
    data: {
        apps: []
    },
    onLoad: function() {
        console.log("more.onload"), this.getApps();
    },
    onReady: function() {
        console.log("more.onready");
    },
    onShow: function() {
        console.log("more.onshow");
    },
    getApps: function() {
        var o = this;
        n.getApps().then(function(n) {
            console.log(n), o.setData({
                apps: n
            });
        });
    },
    toApp: function(o) {
        console.log("tap event:", o);
        var n = o.currentTarget.dataset.appid, t = o.currentTarget.dataset.path;
        "" == t && (t = "pages/index/index"), console.log("跳转miniapp", n, t), wx.navigateToMiniProgram({
            appId: n,
            extraData: {
                from: e
            },
            success: function(o) {
                console.log(o);
            }
        });
    },
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {
        return {
            title: "皮肤病识别",
            path: "/pages/index/index",
            success: function(o) {},
            fail: function(o) {}
        };
    }
});